import request from '@/utils/request'

export function fetchAbout(params) {
    return request({
        url: '/about/info',
        method: 'get',
        params: params
    })
}

export function fetchSkills(params) {
    return request({
        url: '/skills/info',
        method: 'get',
        params: params
    })
}

export function fetchList(params) {
    return request({
        url: '/projects/list',
        method: 'get',
        params: params
    })
}

export function fetchWorks() {
    return request({
        url: '/works/list',
        method: 'get',
        params: {}
    })
}


export function fetchSocial() {
    return request({
        url: '/social',
        method: 'get',
        params: {}
    });
}

export function fetchSiteInfo() {
    return request({
        url: '/site',
        method: 'get',
        params: {}
    })
}

